package com.guguskins.back.common.constant;

/**
 * @date 2021/6/10 13:37
 */
public interface RabbitMQConstant {

    /**
     * 交换机
     */
    interface Exchange {
        /**
         * 延迟交换机
         */
        String ROLL_DELAY = "guguskins_roll_delay_exchange";

        String INCUBATION_DELAY = "guguskins_incubation_delay_exchange";
    }

    /**
     * 队列
     */
    interface Queue {
        /**
         * 延迟交换机消费队列
         */
        String ROLL_DELAY = "guguskins_roll_delay_queue";
        String INCUBATION_DELAY = "guguskins_incubation_delay_queue";
    }

    /**
     * routingKey
     */
    interface RoutingKey {
        /**
         * 延迟交换机routingKey
         */
        String ROLL_DELAY = "guguskins_roll_delay_key";
        String INCUBATION_DELAY = "guguskins_incubation_delay_key";
    }
}
